From 9c3c688c5bde995ff113a275b8000b8827c5a0c5 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Wed, 18 Oct 2006 22:06:23 -0600 Subject: [PATCH] [IA64] backport toolchain fixes from linux-ia64 This backports the ia64 specific parts of this upstream linux changeset: http://www.kernel.org/hg/linux-2.6/?cs=dfbee33b0693 Change suggested by Akio Takebe. Signed-off-by: Alex Williamson --- linux-2.6-xen-sparse/arch/ia64/kernel/Makefile | 3 ++- linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/linux-2.6-xen-sparse/arch/ia64/kernel/Makefile b/linux-2.6-xen-sparse/arch/ia64/kernel/Makefile index 09a0dbc17f..003e9ee600 100644 --- a/linux-2.6-xen-sparse/arch/ia64/kernel/Makefile +++ b/linux-2.6-xen-sparse/arch/ia64/kernel/Makefile @@ -44,7 +44,8 @@ CPPFLAGS_gate.lds := -P -C -U$(ARCH) quiet_cmd_gate = GATE $@ cmd_gate = $(CC) -nostdlib $(GATECFLAGS_$(@F)) -Wl,-T,$(filter-out FORCE,$^) -o $@ -GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 +GATECFLAGS_gate.so = -shared -s -Wl,-soname=linux-gate.so.1 \ + $(call ld-option, -Wl$(comma)--hash-style=sysv) $(obj)/gate.so: $(obj)/gate.lds $(obj)/gate.o FORCE $(call if_changed,gate) diff --git a/linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S b/linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S index 5f0163f0be..45377beaa4 100644 --- a/linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S +++ b/linux-2.6-xen-sparse/arch/ia64/kernel/gate.lds.S @@ -13,6 +13,7 @@ SECTIONS . = GATE_ADDR + SIZEOF_HEADERS; .hash : { *(.hash) } :readable + .gnu.hash : { *(.gnu.hash) } .dynsym : { *(.dynsym) } .dynstr : { *(.dynstr) } .gnu.version : { *(.gnu.version) } -- 2.30.2